package com.google.code.swingonfire.showcase.component.page;

import java.awt.Component;

import com.google.code.swingonfire.component.page.JPagePaneComponentProvider;

public class JPagePaneSampleProvider implements JPagePaneComponentProvider
{

    public JPagePaneSampleProvider()
    {
        super();
    }

    /**
     * {@inheritDoc}
     */
    @Override
    public Component getPage(int index)
    {
        System.err.println("creating " + index);
        return new JPageSample(String.valueOf(index));
    }

}
